package jp.co.piratealliance.pirateAllianceWeb.web.action.order;

import java.util.List;

import jp.co.piratealliance.pirateAllianceWeb.common.base.BaseAction;
import jp.co.piratealliance.pirateAllianceWeb.dto.order.ServiceGoodsOrderDetailInfoDto;
import jp.co.piratealliance.pirateAllianceWeb.service.order.OrderService;


/**
 * copyright pirate alliance team 2014
 *
 * @author lunxing
 */

public class ServiceGoodsOrderDetailAction extends BaseAction {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private OrderService orderService;

	private List<ServiceGoodsOrderDetailInfoDto> serviceGoodsOrderDetailInfoDtoList;

	private String order_id;

	public String getServiceGoodsOrderDetailByOrderId()
	{
		this.serviceGoodsOrderDetailInfoDtoList = this.orderService.getServiceGoodsOrderDetailByOrderId(this.order_id);
		return SUCCESS;
	}

	public String insertServiceGoodsOrderDetail()
	{
		return SUCCESS;
	}

	public String updateServiceGoodsOrderDetail()
	{
		return SUCCESS;
	}

	/**
	 * @return the orderService
	 */
	public OrderService getOrderService() {
		return orderService;
	}

	/**
	 * @param orderService the orderService to set
	 */
	public void setOrderService(OrderService orderService) {
		this.orderService = orderService;
	}

	/**
	 * @return the serviceGoodsOrderDetailInfoDtoList
	 */
	public List<ServiceGoodsOrderDetailInfoDto> getServiceGoodsOrderDetailInfoDtoList() {
		return serviceGoodsOrderDetailInfoDtoList;
	}

	/**
	 * @param serviceGoodsOrderDetailInfoDtoList the serviceGoodsOrderDetailInfoDtoList to set
	 */
	public void setServiceGoodsOrderDetailInfoDtoList(
			List<ServiceGoodsOrderDetailInfoDto> serviceGoodsOrderDetailInfoDtoList) {
		this.serviceGoodsOrderDetailInfoDtoList = serviceGoodsOrderDetailInfoDtoList;
	}

	/**
	 * @return the order_id
	 */
	public String getOrder_id() {
		return order_id;
	}

	/**
	 * @param order_id the order_id to set
	 */
	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}

}
